Skip to content

M #-: Introduce Cephadm-managed Ceph clusters#220

Draft
sk4zuzu wants to merge 1 commit into
masterfrom
move-to-cephadm
Draft

M #-: Introduce Cephadm-managed Ceph clusters#220
sk4zuzu wants to merge 1 commit into
masterfrom
move-to-cephadm

Conversation

@sk4zuzu

@sk4zuzu sk4zuzu commented Jun 4, 2026

Copy link
Copy Markdown
Collaborator
  • Remove 'ceph' hatch env from Makefile
  • Remove 'ceph-ansible' submodule
  • Cleanup requirements
  • Update Ceph compatibility matrix (precheck)
  • Add ceph/cephadm role
  • Update existing ceph/* roles
  • Update inventory examples
  • Update molecule 'ceph-hci' env

@sk4zuzu sk4zuzu requested review from rsmontero, tinova and xorel June 4, 2026 20:58
- Remove 'ceph' hatch env from Makefile
- Remove 'ceph-ansible' submodule
- Cleanup requirements
- Update Ceph compatibility matrix (precheck)
- Add ceph/cephadm role
- Update existing ceph/* roles
- Update inventory examples
- Update molecule 'ceph-hci' env

Signed-off-by: Michal Opala <sk4zuzu@gmail.com>
@sk4zuzu sk4zuzu force-pushed the move-to-cephadm branch from 9758f41 to f5a5600 Compare June 5, 2026 00:31
@roamingengineer311

Copy link
Copy Markdown

I tested the OpenNebula + Ceph HCI deployment on Alma10 and overall everything looks good.
The only required update seems to be the compatibility matrix in roles/precheck/pre_reboot/tasks/ceph.yml‎

Since the Ceph 20.2.2 Tentacle release, AlmaLinux 10 and RHEL 10 are now supported for the Tentacle release, so the precheck matrix should allow:

  • AlmaLinux 10 + community
  • Red Hat 10 + community

For RHEL 10 and AlmaLinux 10 it is also necessary to set:

  ---
  all:
    vars:
      ceph_repo_force_trusted: true

Otherwise the Ceph GPG key import fails with:

fatal: [ceph-22-node2]: FAILED! => {
    "changed": false,
    "msg": "error: Certificate E84AC2C0460F3994:\n  Policy rejects E84AC2C0460F3994: No binding signature at time 2026-06-24T12:56:48Z\nerror: /etc/pki/rpm-gpg/RPM-GPG-KEY-ceph: key 1 import failed.
    \n"
  }

@sk4zuzu

sk4zuzu commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator Author

@roamingengineer311 thank you so much, I will update the matrix, the recurring issue with it is that is looks like releases are unpredictable, we probably need some GA job to check and auto-create PRs with updates. 🤔

@roamingengineer311

Copy link
Copy Markdown

@sk4zuzu you are welcome
they reworked os compatibility matrix and it now become more transparent and predictable
https://docs.ceph.com/en/latest/start/os-recommendations/#container-hosts

one_version: '7.0'
one_version: '7.2'
features: { ceph: true }
ceph: { repo: distro }

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I needed this change:

ceph: { repo: distro, release: squid }

Comment on lines +35 to +38
- name: Load first inventory source (raw)
ansible.builtin.include_vars:
file: "{{ ansible_inventory_sources.0 }}"
name: raw_inventory

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here I needed something like

-        file: "{{ ansible_inventory_sources.0 }}"
+        file: "{{ (_src ~ '/ansible_inventory.yml') if (_src is directory) else _src }}"
         name: raw_inventory
+      vars:
+        _src: "{{ ansible_inventory_sources.0 }}"

to get the molecule testing working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants